package com.ruoyi.sale.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出售管理对象 t_sale
 * 
 * @author ruoyi
 * @date 2025-09-11
 */
public class TSale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出售ID */
    private Long saleId;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private Long projectId;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String address;

    /** 价格 */
    @Excel(name = "价格")
    private Long salePrice;

    /** 排序 */
    @Excel(name = "排序")
    private Long saleSorting;

    /** 状态 */
    @Excel(name = "状态")
    private Long saleStatus;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleTime;

    public void setSaleId(Long saleId) 
    {
        this.saleId = saleId;
    }

    public Long getSaleId() 
    {
        return saleId;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setSalePrice(Long salePrice) 
    {
        this.salePrice = salePrice;
    }

    public Long getSalePrice() 
    {
        return salePrice;
    }

    public void setSaleSorting(Long saleSorting) 
    {
        this.saleSorting = saleSorting;
    }

    public Long getSaleSorting() 
    {
        return saleSorting;
    }

    public void setSaleStatus(Long saleStatus) 
    {
        this.saleStatus = saleStatus;
    }

    public Long getSaleStatus() 
    {
        return saleStatus;
    }

    public void setSaleTime(Date saleTime) 
    {
        this.saleTime = saleTime;
    }

    public Date getSaleTime() 
    {
        return saleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saleId", getSaleId())
            .append("projectId", getProjectId())
            .append("address", getAddress())
            .append("salePrice", getSalePrice())
            .append("saleSorting", getSaleSorting())
            .append("saleStatus", getSaleStatus())
            .append("saleTime", getSaleTime())
            .toString();
    }
}
